package com.aizhixin.lab.project.template.repository;

import com.aizhixin.lab.project.template.entity.ProjectSkill;
import org.springframework.data.jpa.repository.JpaRepository;

import javax.xml.crypto.Data;
import java.util.List;

public interface ProjectSkillRepository extends JpaRepository<ProjectSkill,String> {
    List<ProjectSkill> findByPostIdAndDeleteFlag(String postId,Integer deleteFlag);
    List<ProjectSkill> findByPostIdInAndDeleteFlag(List<String> postIdList, Integer deleteFlag);
    Integer countByPostId(String postId);
}
